home *** CD-ROM | disk | FTP | other *** search
- MicroEMACS 3.5 Help
-
- Explanation of Symbols:
- +-----------------------------------------------------------+
- | M- Press the [ESC] key prior to pressing any other key |
- | ^A Hold down the control key while pressing the A key |
- | -> Press the Right Arrow key |
- | <- Press the Left Arrow key |
- | <-- Press the Backspace key |
- +-----------------------------------------------------------+
-
- (1) CURSOR MOVEMENT
-
- ^V or [Pg Dn] Next page | M-< or [HOME] Begining of file
- M-V or [Pg Up] Previous page | M-> or [END] End of file
- ^F or [->] Forward character | M-F or ^[->] Forward word
- ^B or [<-] Backward character | M-B or ^[<-] Backward word
- ^N or [Dn Arrow] Next line | M-N or ^[Pg Dn] End of paragraph
- ^P or [Up Arrow] Previous line | M-P or ^[Pg Up] Front of paragraph
- ^A Front of line | ^E End of line
-
- ^X^N Scroll down by Universal repeat count lines.
- ^X^P Scroll up by Universal repeat count lines.
- M-G Goto Line number specified in Universal repeat count
-
- ------------------------------------------------------------------------------
- (2) SEARCHING
-
- ^S Search forward from cursor position. Type in a string to be searched
- for at the prompt and end it with ESC. Either case will match unless
- EXACT mode is set for the current buffer.
-
- ^R As above, but Reverse search from cursor position.
-
- ------------------------------------------------------------------------------
- (3) REPLACING
-
- M-R Replace all instances of first argument with second argument. End each
- argument with [ESC]. M-R may be preceded by a Universal Repeat count to
- specify the number of replacements to occur (M-#-M-R). Default=ALL
-
- M-^R Replace with query. Answer with:
- ^G cancel | . exit to entry point
- ! replace the rest | Y replace & continue
- ? list options | N no replacement & continue
-
- ------------------------------------------------------------------------------
- (4) CAPITALIZING & TRANSPOSING
-
- M-U UPPERCASE word | ^X^U UPPERCASE region
- M-L lowercase word | ^X^L lowercase region
- M-C Capitalize word | ^T Transpose characters
-
- ------------------------------------------------------------------------------
- (5) MARKING REGIONS
-
- ^@ or M-' ' Set region MARK at current position
- ^X^X Exchange mark and cursor
-
- A REGION will then be continuously-defined as the area between the mark and
- the current cursor position.
-
- ------------------------------------------------------------------------------
- (6) DELETING & INSERTING
-
- <-- Delete previous character | M-<-- Delete previous word
- ^D or [DEL] Delete next character | M-D Delete next word
- ^O or [INS] Open (insert) line | ^K KILL (delete) to end of line
- ^I Insert a Tab | ^J Insert CR/LF, then indent
- ^M Insert CR/LF | ^X^O Delete blank lines
-
- ^Q Quote next character, so that control codes may be entered into text
- ^W Delete region between mark (set using M-' ') and cursor
- M-W Copy region to kill buffer
-
- The KILL BUFFER is the text which has been most recently saved or deleted.
-
- ------------------------------------------------------------------------------
- (7) COPYING AND MOVING
-
- ^W Delete (Wipe) region | M-W copy region to KILL buffer
- ^Y Yankback save buffer at cursor
-
- Generally, the procedure for copying or moving text is:
- 1) Mark a REGION using M-' ' at beginning and cursor at end.
- 2) Delete it (with ^W) or copy it (with M-W) into the KILL buffer.
- 3) Move the cursor to the desired location and yank it back (with ^Y).
-
- ------------------------------------------------------------------------------
- (8) MODES OF OPERATION
-
- ^XM Add Mode | ^X^M Delete Mode
-
- WRAP Turns on word wrap (automatic carraige return).
- VIEW Allows viewing file without insertion and deletion.
- EXACT All searches done with exact case matching
- CMODE Automatic indenting for C program entry
- (automatically set on any files ending with .C or .H)
-
- ------------------------------------------------------------------------------
- (9) ON-SCREEN FORMATTING
-
- ^XF Set fill column
- Mn-<tab> Set tab spacing to n charecters between tabs stops
- M-Q Format paragraph so that text lies between margins
- ^X= Position report -- displays line number, char count, size
-
- ------------------------------------------------------------------------------
- (10) MULTIPLE WINDOWS
-
- Many WINDOWS may be active at once on the screen. All windows may show
- different parts of the same buffer, or each may display a different one.
-
- ^X2 Split current window in two | ^X1 Remove all but current window
- ^XO Move cursor to next window | ^XP Move to previous window
- ^X^^ Enlarge current window | ^X^Z Shrink current window
- M-^V Scroll down, other window | M-^Z Scroll up, other window
-
- M-^L or M-! Redraw window with current line at center
- ^L Refresh windows
-
- ------------------------------------------------------------------------------
- (11) MULTIPLE BUFFERS
- A BUFFER is a named area containing a document being edited. Many buffers
- may be activated at once. Each buffer has a name, which is typically the
- lowercase disk filename of the document it contains.
-
- ^XB Switch to another buffer. <CR> = use just-previous buffer
- ^X^B List buffer directory in a window.
- ^X^F Find file; read into a new buffer created from filename.
- M-~ Mark the current buffer unmodified (^Z will ignore the buffer).
- M-K Kill ALL text in current buffer. (WARNING: ^Y won't yank it back)
- ^XK Delete a non-displayed buffer.
- M-^N Change the name of the current buffer.
- ^XN Change the file name of the current buffer.
-
- ------------------------------------------------------------------------------
- (12) READING FROM DISK
-
- ^X^F Find file; read into a new buffer created from filename.
- (This is the usual way to begin editing a new file.)
- ^X^R Read file into current buffer, erasing its previous contents.
- No new buffer will be created.
- ^X^I Insert file into current buffer at cursor's location.
- ^X^V Find a file to make current in VIEW mode.
-
- ------------------------------------------------------------------------------
- (13) SAVING TO DISK
-
- ^X^S Save current buffer to disk, using the buffer's filename
- as the name of the disk file. Any disk file of that name
- will be overwritten.
- ^X^W Write current buffer to disk. Type in a new filename at the
- prompt to write to; it will become the current buffer's filename.
- ^Z Write out all changed buffers and exit MicroEMACS
-
- ------------------------------------------------------------------------------
- (14) ACCESSING THE OPERATING SYSTEM
-
- ^X! Send one command to the operating system and return.
- ^XC Start a new command processer under MicroEMACS.
- ^X^C Exit MicroEMACS.
- ^Z Write out all changed buffers and then Exit MicroEMACS.
-
- ------------------------------------------------------------------------------
- (15) SPECIAL KEYS AND KEY BINDINGS
-
- ^G Cancel current command and return to top level of processing.
- ^U or Universal repeat. May be followed by an integer (default = 4)
- M-<digit> and repeats the next command that many times.
- M-X Execute a named (and possibly unbound) command.
- ^C Bind a key to a named command.
- M-^C Unbind a key from a named command.
- M-? Display this file.
- ^X^D Display all commands and bindings in a buffer.
- ^X? Display a key's binding.
- ^X( Begin a keyboard macro.
- ^X) End a keyboard macro.
- ^XE Execute a keyboard macro.